@layout("/backend/common/_container.html"){
    <style>
        .dhcc-form .ele {
            width: 70%;
            padding-right: 0px;
        }
    </style>
<div class="dhcc-form">
    <form method='post' id="labOrderInfoForm" name="labOrderInfoForm" enctype="multipart/form-data">
	
        <#Hidden id="id" value="${labOrder.id}"/>
        <div class="row row-lg">
            <div class="col-sm-6">
                <#Input id="xcode" name="索引码" value="${labOrder.xcode}"/>
            </div>
            <div class="col-sm-6">
                <#Input id="code" name="代码" value="${labOrder.code}"/>
            </div>
        </div>
        <div class="row row-lg">
            <div class="col-sm-6">
                <#Input id="description" name="描述" value="${labOrder.description}"/>
            </div>
            <div class="col-sm-6">
                <#SelectForm id="busLabCateId" name="分类" url="/cdc/cdcdictionary/query/LabData/bus_lab_cate" key="id" text="description" hasEmpty="false" width="220px" value="${labOrder.busLabCateId}"/>
            </div>
        </div>
        <div class="row row-lg">
            <div class="col-sm-6">
                <#SelectForm id="dataId" name="数据类型" url="/cdc/cdcdata/query" key="id" text="description" hasEmpty="false" width="220px" params="{'code':'LabData'}"/>
            </div>
            <div class="col-sm-6">
                <#SwitchBox id="isActive" name="是否有效" value="${labOrder.isActive}"/>
            </div>
        </div>
        
        <div class="toolbar">
        	<#Button name="保存" id="ensure" icon="icon-w-save" clickFun="LabOrderInfoDlg.editSubmit()"/>
        	<#Button btnCss="l-bt-red" name="关闭" id="cancel" icon="icon-w-close" clickFun="LabOrderInfoDlg.close()"/>
        </div>
    </form>
</div>
<script src="${ctxPath}/static/backend/cdc/laborder/laborder_info.js"></script>
@}
